<?

class Text {

	// This is a simple namespace for rich text editor related functions. Basically, we can use these methods to determine
	// whether a rich text editor was active when submitted content. If it was, great - we just add content. If not, then
	// we do things like add <br/> tags, etc...
	
	
	function isRTELoaded($field) {
		if (isset($_REQUEST[$field . '___Config'])) {
			return (strpos($_REQUEST[$field . '___Config'], "status=LOADED") !== false);
		} else {
			return false;
		}
	}
	
	
}

?>